home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / getcpos.z / getcpos
Encoding:
Text File  |  1998-10-20  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttccccppppoooossss((((3333GGGG))))                                                        ggggeeeettttccccppppoooossss((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttccccppppoooossss - returns the current character position
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd ggggeeeettttccccppppoooossss((((iiiixxxx,,,, iiiiyyyy))))
  13.      sssshhhhoooorrrrtttt ****iiiixxxx,,,, ****iiiiyyyy;;;;
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _i_x   expects the pointer to the location at which to write the _x
  17.           coordinate of the current character position.
  18.  
  19.      _i_y   expects the pointer to the location at which to write the _y
  20.           coordinate of the current character position.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      ggggeeeettttccccppppoooossss gets the current character position and writes it into the
  24.      parameters.  For purely historical reasons, the returned values are
  25.      offset by the window origin; i.e. they are absolute screen coordinates.
  26.  
  27.      When the current character position is undefined, the action of this
  28.      routine is undefined.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      charstr, cmov, getgpos
  32.  
  33. NNNNOOOOTTTTEEEE
  34.      This routine is available only in immediate mode.
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.